package com.ltt.service.impl;

import com.ltt.dao.pojo.Policy;
import com.ltt.mapper.PolicyMapper;
import com.ltt.service.PolicyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ‘李天泰’
 * @version 1.0
 * @description: TODO
 * @date 2023/5/26 11:20
 */
@Service
public class PolicyServiceImpl implements PolicyService {
    @Autowired
    private PolicyMapper policyMapper;

    @Override
    public List<Policy> getAllPolicy() {
        return policyMapper.getAllPolicy();
    }
}
